.SUFFIXES: .o .c
.PHONY:all clean


COMPILE_PATH =
CC = $(COMPILE_PATH)gcc 
CPP = $(COMPILE_PATH)g++ -E 
STRIP = $(COMPILE_PATH)strip


SRC_TOP_DIR = ./
SRC_GINI_DIR = $(SRC_TOP_DIR)src/
INC_GINI_DIR = $(SRC_TOP_DIR)inc/


LIBS = $(SRC_TOP_DIR)/lib
CFLAGS  += -w 
LDFLAGS = 

SRC_GINI = $(SRC_GINI_DIR)gini.o
SOURCE = $(SRC_TOP_DIR)gini_test.o

INC = -I $(INC_GINI_DIR)
MID_OBJS = $(SRC_GINI) $(SOURCE) 
OBJS = $(MID_OBJS)

all: gini clean
gini:$(OBJS)
	$(CC) -o $@  $^  $(CFLAGS) $(LDFLAGS)
	$(STRIP) $@
clean:
	rm -f $(MID_OBJS)  
